package com.fqgj.sentry.api.domain;

import com.fasterxml.jackson.annotation.JsonAutoDetect;

/**
 * Created with IntelliJ IDEA.
 * User: yujianfu (mr.vencnet@gmail.com)
 * Date: 16/8/24
 * Time: 上午11:03
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class ApiOutput {

    private Integer code = 0;

    private String msg = "SUCCESS";

    private RiskApiResult data;


    public Integer getCode() {
        return code;
    }

    public ApiOutput setCode(Integer code) {
        this.code = code;
        return this;
    }

    public String getMsg() {
        return msg;
    }

    public ApiOutput setMsg(String msg) {
        this.msg = msg;
        return this;
    }

    public RiskApiResult getData() {
        return data;
    }

    public ApiOutput setData(RiskApiResult data) {
        this.data = data;
        return this;
    }
}
